package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预警信息对象 dispatchAlarm
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchAlarm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预警编号 */
    private Long alarmId;

    /** 预警类型 */
    @Excel(name = "预警类型")
    private String alarmType;

    /** 预警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预警时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date alarmTime;

    /** 站点编号 */
    @Excel(name = "站点编号")
    private Long siteId;

    /** 报警内容 */
    @Excel(name = "报警内容")
    private String alarmContent;

    /** 报警状态 */
    @Excel(name = "报警状态")
    private String alarmStatus;

    /** 处理步骤记录 */
    @Excel(name = "处理步骤记录")
    private String processingSteps;

    /** 处理结果 */
    @Excel(name = "处理结果")
    private String processingResult;

    /** 处理建议 */
    @Excel(name = "处理建议")
    private String suggestedActions;

    /** 消息推送接收人 */
    @Excel(name = "消息推送接收人")
    private String pushReceivers;

    /** 消息推送方式 */
    @Excel(name = "消息推送方式")
    private String pushMethods;

    /** 语音播报设置 */
    @Excel(name = "语音播报设置")
    private Integer voiceBroadcast;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    public void setAlarmId(Long alarmId) 
    {
        this.alarmId = alarmId;
    }

    public Long getAlarmId() 
    {
        return alarmId;
    }
    public void setAlarmType(String alarmType) 
    {
        this.alarmType = alarmType;
    }

    public String getAlarmType() 
    {
        return alarmType;
    }
    public void setAlarmTime(Date alarmTime) 
    {
        this.alarmTime = alarmTime;
    }

    public Date getAlarmTime() 
    {
        return alarmTime;
    }
    public void setSiteId(Long siteId) 
    {
        this.siteId = siteId;
    }

    public Long getSiteId() 
    {
        return siteId;
    }
    public void setAlarmContent(String alarmContent) 
    {
        this.alarmContent = alarmContent;
    }

    public String getAlarmContent() 
    {
        return alarmContent;
    }
    public void setAlarmStatus(String alarmStatus) 
    {
        this.alarmStatus = alarmStatus;
    }

    public String getAlarmStatus() 
    {
        return alarmStatus;
    }
    public void setProcessingSteps(String processingSteps) 
    {
        this.processingSteps = processingSteps;
    }

    public String getProcessingSteps() 
    {
        return processingSteps;
    }
    public void setProcessingResult(String processingResult) 
    {
        this.processingResult = processingResult;
    }

    public String getProcessingResult() 
    {
        return processingResult;
    }
    public void setSuggestedActions(String suggestedActions) 
    {
        this.suggestedActions = suggestedActions;
    }

    public String getSuggestedActions() 
    {
        return suggestedActions;
    }
    public void setPushReceivers(String pushReceivers) 
    {
        this.pushReceivers = pushReceivers;
    }

    public String getPushReceivers() 
    {
        return pushReceivers;
    }
    public void setPushMethods(String pushMethods) 
    {
        this.pushMethods = pushMethods;
    }

    public String getPushMethods() 
    {
        return pushMethods;
    }
    public void setVoiceBroadcast(Integer voiceBroadcast) 
    {
        this.voiceBroadcast = voiceBroadcast;
    }

    public Integer getVoiceBroadcast() 
    {
        return voiceBroadcast;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("alarmId", getAlarmId())
            .append("alarmType", getAlarmType())
            .append("alarmTime", getAlarmTime())
            .append("siteId", getSiteId())
            .append("alarmContent", getAlarmContent())
            .append("alarmStatus", getAlarmStatus())
            .append("processingSteps", getProcessingSteps())
            .append("processingResult", getProcessingResult())
            .append("suggestedActions", getSuggestedActions())
            .append("pushReceivers", getPushReceivers())
            .append("pushMethods", getPushMethods())
            .append("voiceBroadcast", getVoiceBroadcast())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
